@extends('layouts.app')

@section('content')
    <div class="content">
        <div class="header">
            <ul class="breadcrumb">
                <li><i class="fa fa-fw fa-cog"></i>接口管理</li>
                <li>长途客运接口开发说明</li>
            </ul>
        </div>
        <div class="main-content">
            <div class="btn-toolbar list-toolbar">
                <div class="form-all">
                    <table class="table table-form table-striped table-bordered table-condensed">
                        <thead>
                        <h2 class="text-center content_tt">长途客运接口开发说明</h2>
                        <div class="col-md-10 ">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">调用地址</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form_input1" value="暂无" name="name" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10 ">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">请求方式</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form_input1" value="GET" name="name" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10 ">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">返回类型</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form_input1" value="JSON" name="name" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10 ">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">API 调用</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form_input1" value="API 简单身份认证调用方法（APPCODE）" name="name" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <tr>
                            <th width="80">序号</th>
                            <th>注释</th>
                            <th>字段名</th>
                            <th>字段类型</th>
                        </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>1</td>
                                <td>主键(唯一)</td>
                                <td>id</td>
                                <td>int</td>
                            </tr>
                            <tr>
                                <td>2</td>
                                <td>姓名</td>
                                <td>name</td>
                                <td>varchar</td>
                            </tr>
                            <tr>
                                <td>3</td>
                                <td>身份证号</td>
                                <td>id_number</td>
                                <td>int</td>
                            </tr>
                            <tr>
                                <td>4</td>
                                <td>起点</td>
                                <td>qidian</td>
                                <td>varchar</td>
                            </tr>
                            <tr>
                                <td>5</td>
                                <td>终点</td>
                                <td>zhongdian</td>
                                <td>varchar</td>
                            </tr>
                            <tr>
                                <td>6</td>
                                <td>票价</td>
                                <td>price</td>
                                <td>float</td>
                            </tr>
                            <tr>
                                <td>7</td>
                                <td>出票时间</td>
                                <td>add_time</td>
                                <td>datetime</td>
                            </tr>
                            <tr>
                                <td>8</td>
                                <td>发车时间</td>
                                <td>start_time</td>
                                <td>datetime</td>
                            </tr>
                            <tr>
                                <td>9</td>
                                <td>车牌号</td>
                                <td>car_number</td>
                                <td>varchar</td>
                            </tr>
                            <tr>
                                <td>10</td>
                                <td>客运站名称</td>
                                <td>station_name</td>
                                <td>varchar</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        function check() {
            $('#search_form').submit();
        }

        $('.zhuxiao').click(function(){
            var i=window.confirm("确认注销该单位？");
            if(i==0){
                return false;
            }
        });
        $('.huifu').click(function(){
            var i=window.confirm("确认恢复该单位？");
            if(i==0){
                return false;
            }
        });
        $('.swzd').click(function(){
            var i=window.confirm("确认设置为重点单位？");
            if(i==0){
                return false;
            }
        });
        $('.qxzd').click(function(){
            var i=window.confirm("确认取消重点单位？");
            if(i==0){
                return false;
            }
        });
        $('.renling').click(function(){
            var i=window.confirm("确认认领该单位？");
            if(i==0){
                return false;
            }
        });
        $('.shifang').click(function(){
            var i=window.confirm("确认释放该单位？");
            if(i==0){
                return false;
            }
        });
    </script>
@stop

